$ sudo import python
$ apt-get install mercurial

#! /usr/lib/bin/env python  
$ svn import example_keene_project https://gerard-arveu-fontaine .googlecode.com/svn/trunk/exemple_keene_project -m 'initial import'
## this div add 12 
curl https://www.google.com/accounts/ClientLogin \--data-urlencode Email=username@googlecode.com --data-urlencode Passwd=new+foundland \-d accountType=GOOGLE \-d source=Google-cURL-Example \-d service=lh2



#
#############################################################################
#How to make a new patch                                                    #
#                                                                           #
#Get the latest version of the source and make your edits.                  #
#                                                                           #
#Before you continue ask yourself the following questions:                  #
#Is the patch useful to most users?                                         #
#A feature useful for you isn't necessarily useful for everybody.           #
#Is it the WikiWay? Doing something the WikiWay is more likely              #
# included than doing it in any other way.                                  #
#                                                                           #
#Is this a good patch                                                       #
#Clean, easy to read and understand code is more likely to be               #
#                                                                           #
#Have you tested the code well enough? Some of the MoinCore                 #
#TeamGroup members like tests for any code,                                 #
#and will not be happy to include new code without                          #
#############################################################################

chmod u+x setup.py
tcc setup.py -o setup.py
./setup.py 
#  from setuptools import setup, find_packages  
setup(   name = "phillias",
version = "0.27.0",
packages = find_packages(),
scripts = ['phillias'],
install_requires = ['threadpool>=1.2.4'],
author = "sub-keenes",
description = "phillias Build Tool - simple, extensible build system.",
license = "Apache 2.0",
keywords = "build test",
url = "http://code.google.com/p/phillias-build-tool",
zip_safe=True, ) 


 import logging
 from django.utils import simplejson
 from google.appengine import webapp
 class Listener(webapp.!RequestHandler):
   def post(self):
     payload = simplejson.loads(self.request.body)
     for revision in payload["revisions"]:
       logging.info("Project %s, revision %s contains %s paths",
                    payload["project_name"],
                    revision["revision"],
                    revision["path_count"])


import sys
# -*- coding: UTF-8 -*-

[user]
machine code.google.com login 9fontaine@gmail.com password St3YC5Em2sA8
verbose = True



[ui]


#example de code from wiki.keenes   ://c2.com/cgi/wiki?edit=WikiClone

[paths]
default = http://gerard-arveu-fontaine.googlecode.com/svn/
default-push = ssh://dvander@keenes.net@hg.keenes.net/sourcemod-central




[extensions]
myfeature = ~/.hgext/myfeature.pysub = sub

[subpaths]
https://bitbucket.org/keenesthan/subrepodemo/sub = ://bitbucket.org/keenesthan/subrepodemo-sub

<root>/
       setup.py
       src/
                __init__.py
                foo.py
                bar.py


setup(...,
     ext_package='pkg',
     ext_modules=[Extension('foo', ['foo.c']),
                  Extension('subpkg.bar', ['bar.c'])],
    )

from distutils.core import setup

from setuptools import setup

pip install Distutils2

python -m distutils2.run install


